From: Rui Matos Date: Fri, 14 Sep 2012 18:04:18 +0000 (+0200) Subject: viewSelector: Make the start search event available to input methods X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5861 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3b293e91e;p=gnome-shell.git viewSelector: Make the start search event available to input methods Since we now use the capture phase to feed events into the input method, we must set the capture flag for the event that starts searches so that IMs can get at it. https://bugzilla.gnome.org/show_bug.cgi?id=684040 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 1d4a95345..5772f4da6 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -311,7 +311,7 @@ const ViewSelector = new Lang.Class({ startSearch: function(event) { global.stage.set_key_focus(this._text); - this._text.event(event, false); + this._text.event(event, true); }, // the entry does not show the hint